package com.devin.pojo;

import java.io.Serializable;
import java.util.List;

public class OrderAndTraveller implements Serializable {
    private Order order;
    private Member member;
    private List<Traveller> travellers;

    public OrderAndTraveller() {
    }

    public OrderAndTraveller(Order order, Member member, List<Traveller> travellers) {
        this.order = order;
        this.member = member;
        this.travellers = travellers;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public Member getMember() {
        return member;
    }

    public void setMember(Member member) {
        this.member = member;
    }

    public List<Traveller> getTravellers() {
        return travellers;
    }

    public void setTravellers(List<Traveller> travellers) {
        this.travellers = travellers;
    }
}
